package com.tangly.codeing.dao;

import com.tangly.codeing.model.File;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 文章
 *
 * @author tangbing
 * @date 2019-10-30
 */
@Component
public interface FileDao {

    List<File> getAll();

    File selectByPrimaryKey(Long id);

    int updateByPrimaryKey(File record);
}
